package com.jhs.kjs.dto;

import com.jhs.kjs.util.DateUtils;

public class UserViewDTO extends UserDTO{
	public String getRegDateStr(){
		return DateUtils.getYYYY_MM_DD(getRegDate());
	}
	
	public String getStatusStr(){
		String ret = "가입";
		switch(getStatus()){
		case 10 :{
			ret = "승인";
			break;
		}
		case 20 :{
			ret = "Block";
			break;
		}
		}
		return ret;
	}
}
